set(CZMQ_TEST_APP czmq_test)

if(NOT CPUNCHLINE_BUILD_THIRDPARTY)
    find_package(ZeroMQ REQUIRED)
endif()


add_executable(${CZMQ_TEST_APP}
    czmq_test.c
)
target_link_libraries(${CZMQ_TEST_APP} PRIVATE libzmq czmq)
target_link_directories(${CZMQ_TEST_APP} PRIVATE ${CPUNCHLINE_PRE_BUILT_DIR}/lib)

install(TARGETS ${CZMQ_TEST_APP} DESTINATION test)
